package zjc.练习.静态属性;

public class Car {
    private static String name="兰博基尼";//静态属性
    public static String getname(){
        System.out.println(name);
        return  name;
    }

    public static String getName() {
        return name;
    }

    public static void setName(String name) {
        Car.name = name;
    }
}
